<script setup lang="ts">
import {onLaunch} from "@dcloudio/uni-app";
import {parseQueryString} from "@/utils/common";
import {setInviteeCode} from "@/utils/invite";

onLaunch(options => {
  const scene = decodeURIComponent(options?.query.scene)

  // 处理会员推广扫码邀请码信息
  setInviteeCode(parseQueryString(scene)['inviteCode'])

})


</script>

<style>
@import '@tuniao/tn-style/dist/uniapp/index.css';
</style>
